Skip to content

Embed the testifylint analyzer - #37

Merged
nnutter merged 1 commit into
analysis-loop-probefrom
analysis-starship-falcon
Nov 5, 2026
Merged

nnutter merged 1 commit into
analysis-loop-probefrom
analysis-starship-falcon

Conversation

@nnutter

@nnutter nnutter commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

testify has no type-level check for a misuse such as assert.True on a
comparison, and testifylint reports it. Its analyzer needs the inspect
analyzer, which the driver already supplies for the analyzer graph.

analysistest loads testdata in GOPATH mode, where the real testify module
is not reachable. The testdata holds a stub of the assert package under
the import path that testifylint matches. The stub carries the calls the
testdata makes, so the test needs no network and no module file.

Change-Id: I67d235f00fe3e741dc1fc89ac213b97deb3003d3
@nnutter
nnutter added this pull request to stack #41 November 5, 2026 07:46
@nnutter nnutter changed the title Integrate the testifylint analyzer Embed the testifylint analyzer Nov 5, 2026
@nnutter
nnutter merged commit 30a547d into master Nov 5, 2026
3 checks passed
@nnutter
nnutter deleted the analysis-starship-falcon branch November 5, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant